<?php
/**
 * Created by PhpStorm.
 * User: hang
 * Date: 2021/12/15
 * Time: 10:44
 */
include_once '../tools/DbTools.php';
include_once '../user/common.php';
$is_login = getLoginStatus();
if (!$is_login){
    echo '您尚未登录，<a href="../user/loginUi.php">去登录</a>';
    die;
}else{
    session_start();
    $token = $_COOKIE['Token'];
    $userInfo = $_SESSION[$token];
    $CardId = $userInfo['CardId'];
    $CardNo = $userInfo['CardNo'];
//DbTools::initDb();
//$sql = "";
//DbTools::select();
//
//DbTools::close();
}




?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
</head>
<body>
<form action="transferAction.php" method="post">
    转账卡号：<input type="text" name="" id="" value="<?php echo $CardNo;?>" readonly="readonly" disabled="disabled" /><br>
    收款卡号：<input type="text" name="payeeCard" id="" value="" /><br>
    转账金额：<input type="text" name="transfer_Money" id="" value="" /><br>
    <input type="submit" name="" id="" value="转出" />
</form>
</body>
</html>